package main

import (
	"fmt"

	"gitee.com/wisechar/alogrithms/libs"
)

func main() {
	obj := libs.NewLRUCache(10)
	key := 1
	param_1 := obj.Get(key)
	if param_1 == -1 {
		fmt.Println("not exists")
	} else {
		fmt.Println("key: 1,value: ", param_1)
	}
	obj.Put(key, 1)
	param_1 = obj.Get(key)
	if param_1 == -1 {
		fmt.Println("not exists")
	} else {
		fmt.Println("key: 1,value: ", param_1)
	}
}
